package com.linkq.ipinyin.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.util.Date;

/**
 * @FileName reply
 * @Description 答复表
 * @Author wangpeng
 * @date 2025-03-01
 **/

@TableName("t_reply")
@Data
public class Reply extends Model<Reply> {
    @TableId(value = "id", type = IdType.AUTO)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private Integer feedbackId;
    // 标题
    private String title;

    // 内容
    private String content;

    // 文件id 多个以逗号分隔
    private String fileIds;

    // 答复时间
    private Date replyTime;

    // 顺序
    private Integer sort;
}
